'}x+='';var A=j?''+this._get(a,"weekHeader")+" ":"";for(t=0;t<7;t++){var q=
(t+h)%7;A+="=5?' class="ui-datepicker-week-end"':"")+'>'+s[q]+" "}x+=A+" ";A=this._getDaysInMonth(m,g);if(m==a.selectedYear&&g==a.selectedMonth)a.selectedDay=Math.min(a.selectedDay,A);t=(this._getFirstDayOfMonth(m,g)-h+7)%7;A=l?6:Math.ceil((t+A)/7);q=this._daylightSavingAdjust(new Date(m,g,1-t));for(var O=0;O";var P=!j?"":' '+this._get(a,"calculateWeek")(q)+" ";for(t=0;t<7;t++){var F=
p?p.apply(a.input?a.input[0]:null,[q]):[true,""],B=q.getMonth()!=g,J=B&&!H||!F[0]||k&&qo;P+='"+(B&&!v?" ":J?''+q.getDate()+" ":''+q.getDate()+" ")+" ";q.setDate(q.getDate()+1);q=this._daylightSavingAdjust(q)}x+=
P+""}g++;if(g>11){g=0;m++}x+="
"+(l?""+(i[0]>0&&D==i[1]-1?'
':""):"");M+=x}I+=M}I+=e+(d.browser.msie&&parseInt(d.browser.version,10)<7&&!a.inline?'':"");a._keyEvent=false;return I},_generateMonthYearHeader:function(a,b,c,e,f,h,i,g){var j=this._get(a,"changeMonth"),l=this._get(a,"changeYear"),u=this._get(a,"showMonthAfterYear"),k='',
o="";if(h||!j)o+=''+i[b]+" ";else{i=e&&e.getFullYear()==c;var m=f&&f.getFullYear()==c;o+='";for(var n=0;n<12;n++)if((!i||n>=e.getMonth())&&(!m||n<=f.getMonth()))o+='"+g[n]+" ";o+=" "}u||(k+=o+(h||!(j&&
l)?" ":""));a.yearshtml="";if(h||!l)k+=''+c+" ";else{g=this._get(a,"yearRange").split(":");var r=(new Date).getFullYear();i=function(s){s=s.match(/c[+-].*/)?c+parseInt(s.substring(1),10):s.match(/[+-].*/)?r+parseInt(s,10):parseInt(s,10);return isNaN(s)?r:s};b=i(g[0]);g=Math.max(b,i(g[1]||""));b=e?Math.max(b,e.getFullYear()):b;g=f?Math.min(g,f.getFullYear()):g;for(a.yearshtml+='";b<=g;b++)a.yearshtml+='"+b+" ";a.yearshtml+=" ";if(d.browser.mozilla)k+=''+c+" ";else{k+=a.yearshtml;a.yearshtml=null}}k+=this._get(a,"yearSuffix");if(u)k+=(h||!(j&&l)?" ":"")+o;k+="
";return k},_adjustInstDate:function(a,b,c){var e=
a.drawYear+(c=="Y"?b:0),f=a.drawMonth+(c=="M"?b:0);b=Math.min(a.selectedDay,this._getDaysInMonth(e,f))+(c=="D"?b:0);e=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(e,f,b)));a.selectedDay=e.getDate();a.drawMonth=a.selectedMonth=e.getMonth();a.drawYear=a.selectedYear=e.getFullYear();if(c=="M"||c=="Y")this._notifyChange(a)},_restrictMinMax:function(a,b){var c=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,"max");b=c&&ba?a:b},_notifyChange:function(a){var b=this._get(a,
"onChangeMonthYear");if(b)b.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])},_getNumberOfMonths:function(a){a=this._get(a,"numberOfMonths");return a==null?[1,1]:typeof a=="number"?[1,a]:a},_getMinMaxDate:function(a,b){return this._determineDate(a,this._get(a,b+"Date"),null)},_getDaysInMonth:function(a,b){return 32-(new Date(a,b,32)).getDate()},_getFirstDayOfMonth:function(a,b){return(new Date(a,b,1)).getDay()},_canAdjustMonth:function(a,b,c,e){var f=this._getNumberOfMonths(a);
c=this._daylightSavingAdjust(new Date(c,e+(b<0?b:f[0]*f[1]),1));b<0&&c.setDate(this._getDaysInMonth(c.getFullYear(),c.getMonth()));return this._isInRange(a,c)},_isInRange:function(a,b){var c=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,"max");return(!c||b.getTime()>=c.getTime())&&(!a||b.getTime()<=a.getTime())},_getFormatConfig:function(a){var b=this._get(a,"shortYearCutoff");b=typeof b!="string"?b:(new Date).getFullYear()%100+parseInt(b,10);return{shortYearCutoff:b,dayNamesShort:this._get(a,
"dayNamesShort"),dayNames:this._get(a,"dayNames"),monthNamesShort:this._get(a,"monthNamesShort"),monthNames:this._get(a,"monthNames")}},_formatDate:function(a,b,c,e){if(!b){a.currentDay=a.selectedDay;a.currentMonth=a.selectedMonth;a.currentYear=a.selectedYear}b=b?typeof b=="object"?b:this._daylightSavingAdjust(new Date(e,c,b)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return this.formatDate(this._get(a,"dateFormat"),b,this._getFormatConfig(a))}});d.fn.datepicker=
function(a){if(!d.datepicker.initialized){d(document).mousedown(d.datepicker._checkExternalClick).find("body").append(d.datepicker.dpDiv);d.datepicker.initialized=true}var b=Array.prototype.slice.call(arguments,1);if(typeof a=="string"&&(a=="isDisabled"||a=="getDate"||a=="widget"))return d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this[0]].concat(b));if(a=="option"&&arguments.length==2&&typeof arguments[1]=="string")return d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this[0]].concat(b));
return this.each(function(){typeof a=="string"?d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this].concat(b)):d.datepicker._attachDatepicker(this,a)})};d.datepicker=new K;d.datepicker.initialized=false;d.datepicker.uuid=(new Date).getTime();d.datepicker.version="1.8.9";window["DP_jQuery_"+y]=d})(jQuery);
;
var ddsmoothmenu={
arrowimages: {down:['subDown', 'down.gif', 'hasSubMenu'], right:['subRight', 'right.gif']},
transition: {overtime:300, outtime:300},
shadow: {enable:false, offsetx:5, offsety:5},
showhidedelay: {showdelay: 100, hidedelay: 200},
detectwebkit: navigator.userAgent.toLowerCase().indexOf("applewebkit")!=-1,
detectie6: document.all&&!window.XMLHttpRequest,
css3support: window.msPerformance||(!document.all&&document.querySelector),
getajaxmenu:function($, setting){
var $menucontainer=$('#'+setting.contentsource[0])
$menucontainer.html("Loading Menu...")
$.ajax({
url: setting.contentsource[1],
async: true,
error:function(ajaxrequest){
$menucontainer.html('Error fetching content. Server Response: '+ajaxrequest.responseText)
},
success:function(content){
$menucontainer.html(content)
ddsmoothmenu.buildmenu($, setting)
}})
},
buildmenu:function($, setting){
var smoothmenu=ddsmoothmenu;
var $mainmenu=$("#"+setting.mainmenuid+">ul");
try{
$mainmenu.parent().get(0).className=setting.classname||"ddsmoothmenu";
}catch(e){
}
var $headers=$mainmenu.find("ul").parent();
$headers.hover(function(e){
$(this).children('a:eq(0)').addClass('hover').parent('li').addClass('li_hover');
},
function(e){
$(this).children('a:eq(0)').removeClass('hover').parent('li').removeClass('li_hover');
}
)
$("#"+setting.mainmenuid+">ul>li").hover(function(e){
$(this).children('a:eq(0)').addClass('hover').parent('li').addClass('li_hover');
},
function(e){
$(this).children('a:eq(0)').removeClass('hover').parent('li').removeClass('li_hover');
}
)
$headers.each(function(i){
var $curobj=$(this).css({zIndex: 99})
var $subul=$(this).find('ul:eq(0)').css({display:'block'})
$subul.data('timers', {})
this._dimensions={w:this.offsetWidth, h:this.offsetHeight, subulw:$subul.outerWidth(), subulh:$subul.outerHeight()}
this.istopheader=$curobj.parents("ul").length==1? true:false
$subul.css({top:this.istopheader&&setting.orientation!='v'? this._dimensions.h+"px":0})
$curobj.children("a:eq(0)").addClass(this.istopheader ? smoothmenu.arrowimages.down[2]:{}).append(
''
)
if(smoothmenu.shadow.enable&&!smoothmenu.css3support){
this._shadowoffset={x:(this.istopheader?$subul.offset().left+smoothmenu.shadow.offsetx:this._dimensions.w), y:(this.istopheader? $subul.offset().top+smoothmenu.shadow.offsety:$curobj.position().top)}
if(this.istopheader)
$parentshadow=$(document.body)
else{
var $parentLi=$curobj.parents("li:eq(0)")
$parentshadow=$parentLi.get(0).$shadow
}
this.$shadow=$('
').prependTo($parentshadow).css({left:this._shadowoffset.x+'px', top:this._shadowoffset.y+'px'})
}
$curobj.hover(function(e){
var $targetul=$subul
var header=$curobj.get(0)
clearTimeout($targetul.data('timers').hidetimer)
$targetul.data('timers').showtimer=setTimeout(function(){
header._offsets={left:$curobj.offset().left, top:$curobj.offset().top}
var menuleft=header.istopheader&&setting.orientation!='v'? 0:header._dimensions.w
menuleft=(header._offsets.left+menuleft+header._dimensions.subulw>$(window).width())? (header.istopheader&&setting.orientation!='v'? -header._dimensions.subulw+header._dimensions.w:-header._dimensions.w):menuleft
if($targetul.queue().length<=1){
$targetul.css({left:menuleft+"px", width:header._dimensions.subulw+'px'}).animate({height:'show',opacity:'show'}, ddsmoothmenu.transition.overtime)
if(smoothmenu.shadow.enable&&!smoothmenu.css3support){
var shadowleft=header.istopheader? $targetul.offset().left+ddsmoothmenu.shadow.offsetx:menuleft
var shadowtop=header.istopheader?$targetul.offset().top+smoothmenu.shadow.offsety:header._shadowoffset.y
if(!header.istopheader&&ddsmoothmenu.detectwebkit){
header.$shadow.css({opacity:1})
}
header.$shadow.css({overflow:'', width:header._dimensions.subulw+'px', left:shadowleft+'px', top:shadowtop+'px'}).animate({height:header._dimensions.subulh+'px'}, ddsmoothmenu.transition.overtime)
}}
}, ddsmoothmenu.showhidedelay.showdelay);
},
function(e){
var $targetul=$subul
var header=$curobj.get(0)
clearTimeout($targetul.data('timers').showtimer)
$targetul.data('timers').hidetimer=setTimeout(function(){
$targetul.animate({height:'hide', opacity:'hide'}, ddsmoothmenu.transition.outtime)
if(smoothmenu.shadow.enable&&!smoothmenu.css3support){
if(ddsmoothmenu.detectwebkit){
header.$shadow.children('div:eq(0)').css({opacity:0})
}
header.$shadow.css({overflow:'hidden'}).animate({height:0}, ddsmoothmenu.transition.outtime)
}}, ddsmoothmenu.showhidedelay.hidedelay);
}
)
})
if(smoothmenu.shadow.enable&&smoothmenu.css3support){
var $toplevelul=$('#'+setting.mainmenuid+' ul li ul')
var css3shadow=parseInt(smoothmenu.shadow.offsetx)+"px "+parseInt(smoothmenu.shadow.offsety)+"px 5px #aaa"
var shadowprop=["boxShadow", "MozBoxShadow", "WebkitBoxShadow", "MsBoxShadow"]
for (var i=0; i\n'
+mainselector+' ul li a {background:'+setting.customtheme[0]+';}\n'
+mainmenuid+' ul li a:hover {background:'+setting.customtheme[1]+';}\n'
+'')
}
this.shadow.enable=(document.all&&!window.XMLHttpRequest)? false:this.shadow.enable
jQuery(document).ready(function($){
if(typeof setting.contentsource=="object"){
ddsmoothmenu.getajaxmenu($, setting)
}else{
ddsmoothmenu.buildmenu($, setting)
}})
}}
jQuery.noConflict();jQuery(document).ready(function(){jQuery(".close").click(function(){jQuery(this).parent().fadeOut("slow")});jQuery(".content-tabbed .list-tabbed li").click(function(){var e=jQuery(this).parents(".content-tabbed");jQuery(".list-tabbed li",e).removeClass("list-tabbed-active");jQuery(this).addClass("list-tabbed-active");jQuery(".tabbed_content",e).hide();var t=jQuery(this).find("a").attr("for-tab");if(typeof t!="undefined"){jQuery("."+t,e).fadeIn()}return false});var e=jQuery(".st-tabs");e.each(function(){var e=jQuery(this);e.find("ul.tab-title li").click(function(){var t=jQuery(this);if(t.hasClass("current"))return;var n=t.attr("tab-id");var r=t.parents("ul.tab-title");var i=jQuery(".tab-content-wrapper",e);r.find("li.current").removeClass("current");jQuery(this).addClass("current");if(i.find('[tab-id="'+n+'"]')){}i.find(".tab-content").removeClass("active").css("display","none");i.find("#"+n).fadeIn().addClass("active")});e.find("ul.tab-title li").eq(0).click()});jQuery(".st-accordion").each(function(){var e=jQuery(this);jQuery(".acc-title",e).toggleClass("acc-title-inactive");jQuery(".acc-opened .acc-title",e).toggleClass("acc-title-active").toggleClass("acc-title-inactive");jQuery(".acc-opened .acc-content",e).slideDown().toggleClass("open-content");jQuery("li .acc-title",e).click(function(){var t=jQuery(this).parents("li");var n=jQuery(this);n.toggleClass("acc-title-active").toggleClass("acc-title-inactive");jQuery(".acc-content",t).slideToggle().toggleClass("open-content");jQuery("li",e).not(t).each(function(){var e=jQuery(this);jQuery(".acc-title",e).removeClass("acc-title-active");jQuery(".acc-content",e).slideUp(400,function(){jQuery(".acc-content",e).removeClass("open-content")})})})});jQuery(".toggle-title").click(function(){var e=jQuery(this).parent();e.find("> :last-child").stop(true,true).slideToggle();if(jQuery(this).hasClass("toggle_current")){jQuery(this).removeClass("toggle_current")}else{jQuery(this).addClass("toggle_current")}})});
jQuery(document).ready(function(){
ddsmoothmenu.init({
mainmenuid: "top-nav-id",
orientation: 'h',
classname: 'top-nav slideMenu',
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
});
ddsmoothmenu.init({
mainmenuid: "primary-nav-id",
orientation: 'h',
classname: 'primary-nav slideMenu',
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
});
ddsmoothmenu.init({
mainmenuid: "secondary-nav-id",
orientation: 'h',
classname: 'primary-nav slideMenu',
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
});
var primary_nav_mobile_button=jQuery('#primary-nav-mobile');
var primary_nav_cloned;
var primary_nav=jQuery('#primary-nav-id > ul');
primary_nav.clone().attr('id','primary-nav-mobile-id').removeClass().appendTo(primary_nav_mobile_button);
primary_nav_cloned=primary_nav_mobile_button.find('> ul');
jQuery('#primary-nav-mobile-a').click(function(){
if(jQuery(this).hasClass('primary-nav-close')){
jQuery(this).removeClass('primary-nav-close').addClass('primary-nav-opened');
primary_nav_cloned.slideDown(400);
}else{
jQuery(this).removeClass('primary-nav-opened').addClass('primary-nav-close');
primary_nav_cloned.slideUp(400);
}
return false;
});
primary_nav_mobile_button.find('a').click(function(event){
event.stopPropagation();
});
jQuery('.video-thumb').each(function(){
var obj=jQuery(this);
var v=obj.attr('video');
var vi=obj.attr('video-id');
if(typeof(v)!='undefined'&&v!=''&&typeof(vi)!='undefined'&&vi!=''){
if(v=='youtube'){
obj.html(' ');
}else{
jQuery.getJSON('http://vimeo.com/api/v2/video/'+vi+'.json?callback=?',{format:"json"},function(data,status){
var small_thumb=data[0].thumbnail_small;
obj.html(' ');
});
}}
});
ST_Reservation_Form();
ST_Contact_Form();
jQuery('.select-box select').fadeTo(0, 0);
jQuery('.select-box').each(function(){
if(jQuery(this).find('option:selected').length){
jQuery(this).find('span').text(jQuery(this).find('option:selected').text());
}});
jQuery('.select-box select').change(function(){
jQuery(this).parent().find('span').text(jQuery(this).find('option:selected').text());
});
ST_Add_Calendar('#reservation_arrival');
ST_Add_Calendar('#reservation_departure');
jQuery(".page-wrapper").fitVids();
jQuery(".thumb-wrapper").hover(function(){
jQuery(this).find(".thumb-control-wrapper").animate({ opacity: 1 }, 500).addClass('parent-hover');
}, function(){
jQuery(this).find(".thumb-control-wrapper").animate({ opacity: 0 }, 500).removeClass('parent-hover');
});
jQuery("a[rel^='prettyPhoto']").prettyPhoto({
theme: 'light_square'
});
jQuery(window).bind("hashchange", function(event){
var hashSplit=jQuery.param.fragment().split("-");
var hashOptions=jQuery.deparam.fragment();
if(typeof(hashOptions.filter)!="undefined"){
jQuery(".cpt-filters a").removeClass("selected");
if(jQuery(".cpt-filters a[href='#filter="+hashOptions.filter+"']").length)
jQuery(".cpt-filters a[href='#filter="+hashOptions.filter+"']").addClass("selected");
else
jQuery(".cpt-filters li:first a").addClass("selected");
jQuery(".cpt-items").isotope(hashOptions);
}}).trigger("hashchange");
jQuery(".cpt-items").imagesLoaded(run_isotope);
FS.pauseOnHover=(FS.pauseOnHover=='true')? true: false;
FS.pauseOnAction=(FS.pauseOnAction=='true')? true: false;
FS.controlNav=(FS.controlNav=='true')? true: false;
FS.directionNav=(FS.directionNav=='true')? true: false;
FS.randomize=(FS.randomize=='true')? true: false;
jQuery('.flexslider').each(function(){
jQuery(this).flexslider(FS);
});
/*
jQuery('.twitter-update ul').each(function(){
var id=jQuery(this).attr('id');
if(id!=''&&typeof(window['twitter_'+id])!='undefined'){
jQuery("#"+id).tweet(window['twitter_'+id]);
}});
*/
jQuery('.testimonials-wrap').each(function(){
var p=jQuery(this);
var id=jQuery('.carou',p).attr('id');
var w=p.width();
jQuery('.test-w',p).width(w);
if(typeof(id)!='undefined'){
jQuery('#'+id).carouFredSel({
width: 'auto',
height: 'auto',
prev: '#prev-'+id,
next: '#next-'+id,
auto: false,
scroll: 1,
align: 'left',
items: 1,
});
jQuery(window).resize(function(){
var w=p.width();
jQuery('.test-w',p).width(w);
});
}});
ST_event_calendar();
jQuery(window).scroll(function(){
if(jQuery(this).scrollTop()!=0){
jQuery('#sttotop').fadeIn();
}else{
jQuery('#sttotop').fadeOut();
}});
jQuery('#sttotop').click(function(){
jQuery('body,html').animate({scrollTop:0},800);
});
});
jQuery(window).load(function(){
jQuery('.thumb-control-wrapper').each(function(i,el){
var new_overlay_w=jQuery(el).prev('img:first').width() - 20;
var new_overlay_h=jQuery(el).prev('img:first').height() - 20;
jQuery(el).css({'width':new_overlay_w,'height':new_overlay_h});
});
});
jQuery(window).load(function(){
jQuery(window).resize(function(){
jQuery('.thumb-control-wrapper').each(function(i,el){
var new_overlay_w=jQuery(el).prev('img:first').width() - 20;
var new_overlay_h=jQuery(el).prev('img:first').height() - 20;
jQuery(el).css({'width':new_overlay_w,'height':new_overlay_h});
});
});
});
function run_isotope(){
jQuery(".cpt-items").isotope();
}
function ST_Reservation_Form(){
var error_report;
jQuery('#reservation_form').submit(function(){
var f=jQuery(this);
jQuery("#reservation_form .notice_ok").hide();
jQuery("#reservation_form .notice_error").hide();
error_report=false;
jQuery("input, textarea, radio, select",f).each(function(i){
var form_element=jQuery(this);
var form_element_value=jQuery(this).attr("value");
var form_element_id=jQuery(this).attr("id");
var form_element_class=jQuery(this).attr("class");
var form_element_required=jQuery(this).hasClass("required");
if(form_element_id=="reservation_email"){
form_element.removeClass("error valid");
if(!form_element_value.match(/^\w[\w|\.|\-]+@\w[\w|\.|\-]+\.[a-zA-Z]{2,4}$/)){
form_element.addClass("error");
error_report=true;
}else{
form_element.addClass("valid");
}}
if(form_element_required&&form_element_id!="reservation_email"){
form_element.removeClass("error valid");
if(form_element_value==""){
form_element.addClass("error");
error_report=true;
}else{
form_element.addClass("valid");
}}
});
if(error_report==false){
jQuery(".loading",f).show();
var string_data="action=reservation_send&ajax=true&";
string_data +=f.serialize();
jQuery.ajax({
type: "POST",
url: ajaxurl ,
data: string_data,
success: function(response){
jQuery(".loading",f).hide();
if(response=='success'){
jQuery(".notice_ok",f).show();
jQuery(".field_submit",f).hide();
}else{
jQuery(".notice_error",f).show();
jQuery(".field_submit",f).show();
}}
});
}
return false;
});
}
function ST_Contact_Form(){
var error_report;
jQuery("#contact_form").submit(function(){
var f=jQuery(this);
jQuery(".notice_ok",f).hide();
jQuery(".notice_error",f).hide();
error_report=false;
jQuery("input, select, textarea", contact_form).each(function(i){
var form_element=jQuery(this);
var form_element_value=jQuery(this).attr("value");
var form_element_id=jQuery(this).attr("id");
var form_element_class=jQuery(this).attr("class");
var form_element_required=jQuery(this).hasClass("required");
if(form_element_id=="contact_email"){
form_element.removeClass("error valid");
if(!form_element_value.match(/^\w[\w|\.|\-]+@\w[\w|\.|\-]+\.[a-zA-Z]{2,4}$/)){
form_element.addClass("error");
error_report=true;
}else{
form_element.addClass("valid");
}}
if(form_element_required&&form_element_id!="contact_email"){
form_element.removeClass("error valid");
if(form_element_value==""){
form_element.addClass("error");
error_report=true;
}else{
form_element.addClass("valid");
}}
});
if(error_report==false){
jQuery(".loading",f).show();
jQuery(".loading",f).show();
var string_data="action=contact_send&ajax=true&";
string_data +=f.serialize();
jQuery.ajax({
type: "POST",
url: ajaxurl,
data: string_data,
success: function(response){
jQuery(".loading",f).hide();
if(response=='success'){
jQuery(".notice_ok",f).show();
jQuery(".field_submit",f).hide();
}else{
jQuery(".notice_error",f).show();
jQuery(".field_submit",f).show();
}}
});
}
return false;
});
}
function ST_Add_Calendar(id){
jQuery('
')
.insertAfter(jQuery(id))
.datepicker({
dateFormat: 'dd-mm-yy',
minDate: new Date(),
maxDate: '+1y',
altField: id,
firstDay: 1,
showOtherMonths: true,
dayNamesMin: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],
beforeShowDay: ST_Date_Available })
.prev().hide();
}
function ST_Date_Available(date){
var dateAsString=date.getFullYear().toString() + "-" + (date.getMonth()+1).toString() + "-" + date.getDate();
var result=jQuery.inArray(dateAsString)==-1 ? [true]:[false];
return result
}
function ST_event_calendar(){
jQuery('.st-events-calendar .header a').on('click',function(){
var p=jQuery(this).parents('.st-events-calendar');
var q=jQuery(this).attr('data');
jQuery(".loading",p).show();
var string_data="action=ajax_events_calendar&ajax=true&"+q;
jQuery.ajax({
type: "GET",
url: ajaxurl,
data: string_data,
success: function(response){
jQuery(".loading",p).hide();
jQuery('.events-calendar-ajax',p).html(response);
}});
return false;
});
};
!function(d,l){"use strict";var e=!1,n=!1;if(l.querySelector)if(d.addEventListener)e=!0;if(d.wp=d.wp||{},!d.wp.receiveEmbedMessage)if(d.wp.receiveEmbedMessage=function(e){var t=e.data;if(t)if(t.secret||t.message||t.value)if(!/[^a-zA-Z0-9]/.test(t.secret)){for(var r,i,a,s=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),n=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]'),o=new RegExp("^https?:$","i"),c=0;c